/**
 * 
 */
package org.cnbi.utils.chart.component;

/**
 * @company 中国经邦
 * @author Administrator
 * @date: 2014年3月14日下午5:45:52
 * @version: V1.0 
 * {
					        name: 'definedStyle',
					        type: 'font',
					        font: '微软雅黑',
					        size: '13',
					        bgColor:'FFFFDD',
					        color: '#000'
					      } 
 */
public class Definition {
	
	protected String name = "definedStyle";
	
	protected String type;
	
	protected String font ="微软雅黑";
	
	protected String size ="13";
	
	protected String bgColor="FFFFDD";
	
	protected String color="000";
	
	protected Definition(){}
	
	public Definition(String name) {
		this.name = name;
	}
	
	/**
	 * @param name
	 * @param type
	 * @param font
	 * @param size
	 * @param bgColor
	 * @param color
	 */
	public Definition(String name, String type, String font, String size, String bgColor, String color) {
		super();
		this.name = name;
		this.type = type;
		this.font = font;
		this.size = size;
		this.bgColor = bgColor;
		this.color = color;
	}
	
	public Definition(String name, String type) {
		this.name = name;
		this.type = type;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @param font the font to set
	 */
	public void setFont(String font) {
		this.font = font;
	}

	/**
	 * @param size the size to set
	 */
	public void setSize(String size) {
		this.size = size;
	}

	/**
	 * @param bgColor the bgColor to set
	 */
	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}

	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

  
	
	

}
